package com.pkk.geer.rose.api;

import com.pkk.components.rpc.response.CommonResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @description: 飞鸽通知的api
 * @author: peikunkun
 * @create: 2019-11-07 17:52
 **/
@FeignClient(value = "penguin-alert-web")
public interface FeiGeNotifyApi {

  /**
   * @Description:飞鸽的信息通知操作
   * @Param: [templateId, uid, param]
   * @return: com.pkk.components.rpc.response.CommonResponse<java.lang.Boolean>
   * @Author: peikunkun
   * @Date: 2019/11/7 0007 下午 6:07
   */
  @RequestMapping(value = "/penguinAlertApi/feigeNotify", method = RequestMethod.POST)
  public CommonResponse<Boolean> feigeNotify(@RequestBody String templateId, String uid);
}
